package pt.inescid.components.policyengine.heimdall.base;

public class Policy {

	private long id;
	private long user;
	private String tag;
	private int type;
	private String cesName;
	private String text;

	public static final int LOCAL_POLICY = 1;
	public static final int REMOTE_POLICY = 2;
	
	
	public Policy(long id, long user, String tag, int type, 
			String cesName, String text) {
		super();
		this.id = id;
		this.user = user;
		this.cesName = cesName;
		this.tag = tag;
		this.text = text;
	}


	public long getId() {
		return id;
	}


	public String getTag() {
		return tag;
	}


	public String getText() {
		return text;
	}


	public long getUser() {
		return user;
	}


	public void setId(long id) {
		this.id = id;
	}


	public void setTag(String tag) {
		this.tag = tag;
	}


	public void setText(String text) {
		this.text = text;
	}


	public void setUser(long user) {
		this.user = user;
	}


	public int getType() {
		return type;
	}


	public void setType(int type) {
		this.type = type;
	}


	public String getCesName() {
		return cesName;
	}


	public void setCesName(String cesName) {
		this.cesName = cesName;
	}
	
	

}; // Policy
